package com.company.eduorder.feign.user;

import com.company.servicebase.to.order.UserTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-user")
@Component
public interface UserFeignService {

    @GetMapping("/educenter/member/getUser/{id}")
    public UserTo getUserById(@PathVariable("id") String id);

}
